/**
 * 
 */
package com.curso.sesion7.excepciones;

/**
 * @author MATEUS
 *
 */
public class Dao implements IDao {

	@Override
	public int saveOrUpdate(Object object) throws PersistenceException {
		if (object == null) {
			throw new PersistenceException();
		}
		
		return 0;
	}

	@Override
	public int delete(Object object) throws PersistenceException {
		if (object == null) {
			throw new PersistenceException();
		}
		return 0;
	}

	
	
}
